package com.ee.chat.common.serconfig;

import com.ndhutu.ee.util.dwz.DwzConfig;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * @Author Shane
 * @Date 2020/5/6 23:36
 */
@Component
public class MyDwzConfig implements DwzConfig {
    @Value("${dwz.token}")
    String token;

    @Value("${dwz.key}")
    String key;

    @Override
    public String getToken() {
        return token;
    }

    @Override
    public String getKey() {
        return key;
    }
}
